package com.poizon.manager.intf;

import com.poizon.bo.CodeBo;
import com.poizon.vo.R;

/**
 * @ClassName SmsService
 * @Author NoCheng
 * @Date 2022/1/2 13:31
 * @Description:TODO 验证码业务接口层
 */

public interface SmsService {
    //登录验证码
    R sendLoginCode(String phone);
    //密码找回验证码
    R sendFindCode(String phone);
    //登录验证码校验
    boolean checkLoginCode(CodeBo bo);
    //密码找回验证码校验
    boolean checkFindCode(CodeBo bo);
    //验证码校验
    boolean checkCode(String key, int code);
}
